const bs = require('browser-sync')
const hotPort = require('./build/arg').hotPort
const ip = require('./build/arg').ip

bs({
    port: hotPort,
    files: ['css/**/*', 'script/**/*', 'html/**/*'],
    // ui: {
    //     port: 8125
    // },
    host: ip,
    open: false,
    server: {
        baseDir: './'
    }
    // reloadDelay: 500
    // logLevel: 'debug',
    // logConnections: true,
    // logFileChanges: true
})
